var limsOperationBatch = Gikam.getPageObject({

    baseUrl: IFM_CONTEXT + '/secure/basemodule/business/operation-batchs',
    preFolderUrl: IFM_CONTEXT + '/secure/basemodule/business/pre-folders',
    batchUrl: IFM_CONTEXT + '/secure/basemodule/business/batchs',
    preTaskSupplementUrl: IFM_CONTEXT + '/secure/basemodule/business/pre-task-supplements',
    derivativelUrl: IFM_CONTEXT + '/secure/baseline/samplemanage/sample-derivatives',
    odTaskUrl: IFM_CONTEXT + '/secure/basemodule/business/order-tasks',

    getOperationBatchGridColumns: function () {
        return [{
            index: true
        }, {
            field: 'operationBatch',
            title: 'T_LIMS_OPERATION_BATCH.OPERATIONBATCH',
            width: 140
        }, {
            field: 'etCode',
            title: 'T_LIMS_EXPERIMENTAL_TEMPLATE.ETNAME',
            type: 'select',
            category: 'experimentalTemplate',
            width: 140
        }, {
            field: 'createdByName',
            title: 'T_LIMS_OPERATION_BATCH.CREATEDBYNAME',
            width: 140
        }, {
            field: 'createdTime',
            title: 'T_LIMS_OPERATION_BATCH.CREATEDTIME',
            width: 150
        }];
    },

    getBatchSampleTaskGridColumns: function () {
        return [{
            checkbox: true
        },{
            index: true
        }, {
            field: 'type',
            title: 'T_LIMS_PRE_FOLDER.TYPE',
            type: 'select',
            category: 'sys',
            param: {
                codeCategoryId_EQ: 'preFolderType'
            },
            width: 120
        }, {
            field: 'batchCode',
            title: 'T_LIMS_PRE_FOLDER.BATCHCODE',
            type: 'link',
            width: 120
        }, {
            field: 'sampleCode',
            title: 'T_LIMS_PRE_FOLDER.SAMPLECODE',
            type: 'link',
            width: 120
        }, {
            field: 'sampleTypeName',
            title: 'T_LIMS_PRE_FOLDER.SAMPLETYPENAME',
            width: 140
        }, {
            field: 'productCode',
            title: 'T_LIMS_PRODUCT_MAIN.PRODUCTCODE',
            width: 120
        }, {
            field: 'productName',
            title: 'T_LIMS_PRODUCT_MAIN.PRODUCTNAME',
            width: 140
        }, {
            field: 'experimentNo',
            title: 'T_LIMS_PRE_FOLDER.EXPERIMENTNO',
            width: 140
        }, /*{
            field : 'remark',
            title : 'T_LIMS_PRE_FOLDER.REMARK',
        }, */{
            field: 'ext$.locations',
            title: 'T_LIMS_SAMPLE.LOCATIONS',
            width: 140
        }];
    },
})
